<template>
  <div class="part-five">
    <h1 class="title">平台中立</h1>
    <span class="desc">无平台倾向性，用户可根据需要自行选择。 </span>
    <div class="platform">
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/svgs/github.svg"/>
        </div>
        <h1 class="name">Github</h1>
      </div>
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/svgs/gitlab.svg"/>
        </div>
        <h1 class="name">Gitlab</h1>
      </div>
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/svgs/gitee.svg"/>
        </div>
        <h1 class="name">Gitee</h1>
      </div>
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/svgs/bitbucket.svg"/>
        </div>
        <h1 class="name">Bitbucket</h1>
      </div>
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/svgs/gitlink.svg"/>
        </div>
        <h1 class="name">GitLink</h1>
      </div>
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/svgs/gitea.svg"/>
        </div>
        <h1 class="name">Gitea</h1>
      </div>
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/pngs/coding.png"/>
        </div>
        <h1 class="name">Coding</h1>
      </div>
      <div class="platform-item">
        <div class="icon">
          <img src="~@/assets/web/svgs/gitcode.svg"/>
        </div>
        <h1 class="name">Gitcode</h1>
      </div>
    </div>
  </div>
</template>
<style lang="less" scoped>
.part-five {
  color: #042749;
  margin: 95px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;

  .title {
    font-size: 36px;
    font-weight: 600;
  }

  .desc {
    margin: 25px 0 55px;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    width: 290px;
    white-space: nowrap;
  }

  .platform {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1300px;

    .platform-item {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-right: 55px;
      width: 220px;
      margin-bottom: 50px;

      &:nth-child(4n) {
        margin-right: 0;
      }

      .icon {
        width: 64px;

        img {
          width: 100%;
        }
      }

      .name {
        font-weight: 600;
        color: #042749;
        font-size: 26px;
        margin-left: 20px;
      }
    }
  }
}
</style>
